# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sic
pkgver=1.3
pkgrel=0
pkgdesc="an extremely simple IRC client"
url="https://tools.suckless.org/sic"
arch="all"
license="MIT"
options="!check" # upstream doesn't have a test suite
subpackages="$pkgname-doc"
source="https://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz
	musl-fix.patch"

build() {
	make PREFIX=/usr
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
0a5129dc9276c0a2c778d276115e96b5f11d7d6abce8cf2a5256a8b765a058c7a37bc6e86f90859015eb6b5b153e1c14fc6bbea6466f8ce0457edb7f2b89cbcb  sic-1.3.tar.gz
7cac23919d2ce6e8c668c8d4424d49a4611dc0fb22da47dcb000f6f3a5063416dd644fcf19ed738cb8ff7c250a6282ebea10476c6870339365f0838253c3dc21  musl-fix.patch
"
